Active termination circuit and method for controlling the impedance of external integrated circuit terminals

ABSTRACT

An active termination circuit is used to set the input impedance of a plurality of input terminals. Each of the input terminals is coupled to a supply voltage through at least one PMOS transistor and to ground through at least one NMOS transistor. The impedances of the transistors are controlled by a control circuit that generates a first control signal to set the impedance of another PMOS transistor to be equal to a first predetermined resistance, and generates a second control signal to set the impedance of another NMOS transistor to be equal to a second predetermined resistance. The first control signal is used to control all of the PMOS transistors and the second control signal is used to control all of the NMOS transistors. As a result, the PMOS and NMOS transistors coupled to each input terminal have impedances corresponding to the first and second resistances, respectively.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a divisional of pending U.S. patent application Ser. No. 09/997,156, filed Nov. 28, 2001.

TECHNICAL FIELD

The invention relates to integrated circuits, and, more particularly, to a method and circuit for efficiently controlling the input impedance of externally accessible integrated circuit terminals.

BACKGROUND OF THE INVENTION

Integrated circuits receive signals through externally accessible input terminals of various designs. In some integrated circuits, the magnitude of the input impedance of input terminals is not critical. Other integrated circuits, particularly memory devices operating at a high speed, the input impedance of at least some of the input terminal must be controlled for optimum performance.

FIG. 1 illustrates a conventional memory device that can advantageously use one or more embodiments of the active termination circuit in according to the present invention. The memory device shown in FIG. 1 is a synchronous dynamic random access memory (“SDRAM”) 10, although the active termination circuit may also be used in other memory devices and other integrated circuits. The SDRAM 10 includes an address register 12 that receives either a row address or a column address on an address bus 14 through an address input buffer 16. The address bus 14 is generally coupled to a memory controller (not shown). Typically, a row address is initially received by the address register 12 and applied to a row address multiplexer 18. The row address multiplexer 18 couples the row address to a number of components associated with either of two memory banks 20, 22 depending upon the state of a bank address bit forming part of the row address. Associated with each of the memory banks 20, 22 is a respective row address latch 26, which stores the row address, and a row decoder 28, which applies various signals to its respective memory bank 20 or 22 as a function of the stored row address. The row address multiplexer 18 also couples row addresses to the row address latches 26 to refresh memory cells in the memory banks 20, 22. The row addresses are generated for refresh purposes by a refresh counter 30 that is controlled by a refresh controller 32.

After the row address has been applied to the address register 12 and stored in one of the row address latches 26, a column address is applied to the address register 12. The address register 12 couples the column address to a column address latch 40. Depending on the operating mode of the SDRAM 10, the column address is either coupled through a burst counter 42 to a column address buffer 44, or to the burst counter 42 which applies a sequence of column addresses to the column address buffer 44 starting at the column address that is output by the address register 12. In either case, the column address buffer 44 supplies a column address to a column decoder 48 which applies various column signals to respective sense amplifiers and associated column circuitry 50, 52 for the respective memory banks 20, 22.

Data to be read from one of the memory banks 20, 22 are coupled to the column circuitry 50, 52 for one of the memory banks 20, 22, respectively. The data are then coupled to a data output register 56 which applies the data to a data bus 58 through a data input buffer 59 and a data output buffer 60. Data to be written to one of the memory banks 20, 22 are coupled from the data bus 58 through a data input register 62 to the column circuitry 50, 52 and then are transferred through word line driver circuits in the column circuitry 50, 52 to one of the memory banks 20, 22, respectively. A mask register 64 may be used to selectively alter the flow of data into and out of the column circuitry 50, 52, such as by selectively masking data to be read from the memory banks 20, 22.

The above-described operation of the SDRAM 10 is controlled by a command decoder 68 responsive to high level command signals received on a control bus 70 and coupled to the command decoder through a command input buffer 72. These high level command signals, which are typically generated by a memory controller (not shown in FIG. 1), are a clock enable signal CKE*, a clock signal CLK, a chip select signal CS*, a write enable signal WE*, a column address strobe signal CAS*, and a row address strobe signal RAS*, with the “*” designating the signal as active low or complement. The command decoder 68 generates a sequence of command signals responsive to the high level command signals to carry out the function (e.g., a read or a write) designated by each of the high level command signals. These command signals, and the manner in which they accomplish their respective functions, are conventional. Therefore, in the interest of brevity, a further explanation of these control signals will be omitted

Each of the input buffers 16, 59, 72 includes a respective termination circuit 90 that is coupled to a respective externally accessible input terminal and that determines the input impedance of the input buffer. Conventional termination circuits 90 include, for example, resistors as well as NMOS and PMOS transistors that are biased to an ON condition. In the past, it has been difficult to efficiently control the input impedance of the input terminals. The resistance provided by transistors and other components can vary with process variations and operating temperature, thus making it difficult to precisely control input impedance. Process variations can be compensated for to some extent by altering the circuit topography during manufacturer using fusible links and the like. However, compensating for processing variations in this manner increases the number of components included in the termination circuit and may increase the number of manufacturing steps. Furthermore, compensating for process variations in does not compensate for temperature variations. Therefore, the input impedance can vary with changes in temperature. Another problem with conventional termination circuits using PMOS or NMOS transistors is that the effective impedance of the transistor varies with the source-to-drain voltage, thus making the impedance of the transistor sensitive to variations in the supply voltage.

A relatively complex circuit (not shown) can be used to implement an active termination circuit 90 that precisely controls the input impedance. However, providing a relatively complex termination circuit 90 for each of the many input terminals of a conventional integrated circuit, such as the SDRAM 10, greatly increases the amount of circuitry in the integrated circuit.

There is therefore a need for a circuit and method that uses relatively little circuitry and yet is able to precisely control the input impedance of an input terminal despite process, temperature and supply voltage variations.

SUMMARY OF THE INVENTION

An active termination circuit and method controls the input impedance of a plurality of externally accessible input terminals in an integrated circuit, such as a memory device. Each of the externally accessible input terminals are coupled to a respective first variable impedance device and a respective second variable impedance device. The impedance of one of the first variable impedance devices is compared to a first predetermined impedance by suitable means, such as by deriving a feedback signal from a voltage divider formed by the first variable impedance device and the first predetermined impedance. Similarly, the impedance of one of the second variable impedance devices is compared to a second predetermined impedance by suitable means, such as by deriving a feedback signal from a voltage divider formed by the second variable impedance device and the second predetermined impedance. Based on these comparisons, the impedances of all of the first variable impedance devices and all of the second variable impedance devices are adjusted. More specifically, the impedances of all of the first variable impedance device are adjusted so that they have a predetermined relationship to the first predetermined impedance, and the impedances of all of the second variable impedance device are adjusted so that they have a predetermined relationship to the second predetermined impedance. The variable impedances may each be a continuously varying impedance device, a plurality of fixed impedance devices selectively coupled in parallel with each other, or some other variable impedance device.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a conventional SDRAM integrated circuit having a termination circuit coupled to each input terminal for controlling the input impedance of the input terminal.

FIG. 2 is a schematic of a termination circuit according to one embodiment of the invention that may be used in the SDRAM of FIG. 1 or in another integrated circuit.

FIG. 3 is a waveform diagram showing the voltages at the various nodes in the termination circuit of FIG. 2 responsive to variations in the level of a supply voltage.

FIG. 4 is a schematic of a termination circuit according to another embodiment of the invention that may be used in the SDRAM of FIG. 1 or in another integrated circuit.

FIG. 5 is a block diagram of a computer system using the memory device of FIG. 1 containing the active termination circuit of either FIG. 2 or FIG. 3.

DETAILED DESCRIPTION OF THE INVENTION

One embodiment of an active termination circuit 100 is shown in FIG. 2. The active termination circuit 100 is an analog circuit that includes a PMOS transistor 102 a-n and an NMOS transistor 104 a-n coupled to a respective one of a several input terminals 108 a-n of an integrated circuit, such as the SDRAM 10 of FIG. 1. The gates of all of the PMOS transistors 102 a-n are coupled to each other and to a first output of a control circuit 110, which provides a first output voltage V_(O1). Similarly, the gates of all of the NMOS transistors 104 a-n are coupled to each other and to a second output of the control circuit 110, which provides a second output voltage V_(O2). By using only two transistors 102 a-n, 104 a-n for each input terminal 108 a-n and a single control circuit 110 to provide signals to all of the transistors 102 a-n, 104 a-n, relatively little circuitry is required to control the input impedance of all of the input terminals 108 a-n. The manner in which the output voltages V_(O1) and V_(O2) are adjusted to maintain a constant input impedance at the input terminals 108 a-n despite process variations and variations in the temperature and supply voltage V_(CC) will be explained with the explanation of the control circuit 110.

The control circuit 110 includes a differential amplifier 112 formed by a pair of NMOS input transistors 120, 122, a pair of PMOS load transistors 126, 128 coupled as a current mirror, and an NMOS transistor 130 that draws a constant current collectively through the input transistors 120, 122. An output of the differential amplifier 112 is coupled to the gate of a PMOS transistor 134 and to the input of a buffer 136. An output of the buffer 136 is coupled to the gate of each PMOS transistor 102 a-n, as previously explained.

The PMOS transistor 134 is coupled in series with a resistor 138 between a supply voltage V_(CC) and ground. The PMOS transistor 134 and resistor 138 form a voltage divider that generates a feedback voltage V_(F), which is applied to the gate of the input transistor 122. The gate of the other input transistor 120 is coupled to a reference voltage V_(REF), which may be one-half the supply voltage V_(CC) but may also have other values.

The control circuit 110 also includes a second differential amplifier 142 that uses the same components as the differential amplifier 112 operating in the same manner and provided with the same reference numerals. A first output of the differential amplifier 142 is coupled to the gate of an NMOS transistor 144 and to the input of a buffer 146. The output of the buffer 146 is coupled to the gate of each NMOS transistor 104 a-n, as also previously explained.

The NMOS transistor 144 is coupled in series with a resistor 148 between a supply voltage V_(CC) and ground to form a voltage divider. A feedback voltage V_(F) generated by the voltage divider is coupled to the gate of one input transistor 122 in the differential amplifier 142. The gate of the other input transistor 120 of the differential amplifier 142 is coupled to a reference voltage V_(REF). Note, however, that the order of the PMOS transistor 134 and the resistor 138 forming the first voltage divider is the reverse of the order of the NMOS transistor 144 and the resistor 148 forming the second voltage divider. As a result, the first output voltage V_(O1) decreases with increases in the resistance of the PMOS transistor 134 while the second output voltage V_(O2) increases with increases in the resistance of the NMOS transistor 144.

In operation, the differential amplifier 112 adjusts the output voltage V_(O1) so that the PMOS transistor 134 has a resistance that causes the feedback voltage V_(F) to be equal to the reference voltage V_(REF). If the reference voltage V_(REF) is equal to one-half the supply voltage V_(CC), the impedance of the PMOS transistor 134 will be equal to the resistance of the resistor 138. An increase in the impedance of the PMOS transistor 134 causes a decrease in the feedback voltage V_(F), which will cause the differential amplifier 112 to decrease the output voltage V_(O1). The reduced output voltage V_(O1) coupled to the gate of the PMOS transistor 134 decreases the impedance of the PMOS transistor 134 so that the magnitude of the feedback voltage V_(F) again equals the magnitude of the reference voltage V_(REF).

The differential amplifier 142 operates in essentially the same manner to maintain the impedance of the NMOS transistor 144 equal to the resistance of the resistor 148. More specifically, any decrease in the impedance of the NMOS transistor 144 causes a decrease in the magnitude of the feedback voltage V_(F). The differential amplifier 142 responds to the decreased feedback voltage V_(F) by decreasing the output voltage V_(O2), which causes the impedance of the NMOS transistor 144 to increase until the magnitude of the feedback voltage V_(F) is again equal to the magnitude of the reference voltage V_(REF).

Although the control circuit 110 has been explained with respect to the magnitude of the reference voltage V_(REF) being one-half the magnitude of the supply voltage V_(CC), it will be understood that the magnitude of the reference voltage and the supply voltage may have other relationships. For example, if the magnitude of the reference voltage V_(REF) is equal to two-thirds of the supply voltage V_(CC), the impedance of the PMOS transistor will be one-half the resistance of the resistor 138, and the impedance of the NMOS transistor 144 will be one-half the resistance of the resistor 148. As long as the resistance of the resistors 138, 148 are equal to each other, the impedance of the PMOS transistor 134 will still be equal to the impedance of the NMOS transistor 144.

Although the electrical characteristics of the PMOS transistors—102 a-n and the NMOS transistors 104 a-n may vary with process variations, temperature and supply voltage the same electrical characteristics of the PMOS transistor 134 and the NMOS transistor 144 can be expected to vary with process variations in substantially the same manner. Therefore, the active termination circuit 100 will be substantially insensitive to process, temperature and supply voltage variations.

The manner in which the active termination circuit 100 is insensitive to variations in the supply voltage V_(CC) will now be explained with reference to FIGS. 3A-G. When the supply voltage V_(CC) is 1.6 volts as shown in FIG. 3A and the reference voltage V_(REF) is one-half V_(CC), or 0.8 volts, as shown in FIG. 3B, the feedback voltage VF will also be one-half V_(CC), or 0.8 volts, as shown in FIG. 3C. In such case, the output voltage V_(O1) will be adjusted by the differential amplifier 112 to 1.24 volts, as shown in FIG. 3D, which is the voltage needed to make the impedance of the PMOS transistor 134 equal to the resistance of the resistor 138. In a similar manner, the differential amplifier 142 will generate a voltage V_(O2) of 0.38 volts, as shown in FIG. 3E, which is the voltage needed to make the impedance of the NMOS transistor 144 equal to the resistance of the resistor 148. The impedance of the PMOS transistors 102 will then be approximately equal to the impedance of the NMOS transistors 104, so that the voltage V_(OUT) on the input terminals 108 will be equal to approximately one-half V_(CC), or 0.8 volts. As shown in FIG. 3F, in one embodiment this voltage is 0.808 volts. Finally, the current I_(O) through each series combination of a PMOS transistor 102 and a respective NMOS transistor 104 will be 2.66 ma, as shown in FIG. 3G.

The impedance of each PMOS transistor 102 and each NMOS transistor 104 is equal to the voltage across each of the transistors 102, 104 divided by the current through the transistors 102, 104. For the PMOS transistors 102, the voltage across the transistors 102 is 0.792 volts, so that the impedance of the PMOS transistors 102 can be calculated by the ratio of 0.792 volts to 2.66 ma as 298 ohms. In a similar manner, the impedance of the NMOS transistors 104 can be calculated as the ratio of the 0.808 volts across the transistors 104 to the 2.66 ma of current through the transistors 104, or 304 ohms. The input impedance of the input terminals 108 will thus be the impedance of the two transistors 102, 104 in parallel, or substantially 150 ohms.

If the supply voltage V_(CC) increases to 1.8 volts as shown in FIG. 3A, the reference voltage and the feedback voltage will increase accordingly so that the differential amplifier 112 will then generate an output voltage V_(O1) equal to 1.29 volts and the differential amplifier 142 will generate an output voltage V_(O2) equal to 0.54 volts, as shown in FIGS. 3D and E, respectively. Although the voltage applied to the gate of the PMOS transistor 134 increases from 1.24 volts to 1.29 volts, i.e., by 0.05 volts, the supply voltage VCC has increased to a greater extent, i.e. from 1.6 volts to 1.8 volts, or an increase in 0.2 volts. As a result, the gate-to-source of voltage of the PMOS transistor 134 increases by 0.15 volts, i.e. 0.2 volts less 0.05 volts. This increased gate-to-source of voltage increases the current through the transistor 134 to 3 ma, as shown in FIG. 3G. However, since the voltage on the input terminal 108 has increased to 0.906 volts, as shown in FIG. 3F, the voltage across the PMOS transistor 134 has increased to 0.894 volts. The impedance of the PMOS transistors 102 can then be calculated by the ratio of 0.894 volts to 3 ma as 298 ohms, which is the same impedance previously calculated for a supply voltage V_(CC) of 1.6 volts. Similarly, the impedance of each NMOS transistor 104 can be calculated by the ratio of the 0.906 volts across the transistor 104 to the 3 ma of current through the transistor 104 as 302 ohms, which is substantially the same impedance as the 304 ohms calculated for a supply voltage V_(CC) of 1.6 volts.

If the supply voltage V_(CC) increases to 2 volts as shown in FIG. 3A, the impedance of each PMOS transistor 102 can be calculated in the same manner as described above to be 299 ohms, i.e., 1 volt across the transistor 102 divided by 3.34 ma. The impedance of each NMOS transistor 104 can be calculated in the same manner as described above to also be 299 ohms, i.e., 1 volt across the transistor 104 divided by 3.34 ma. It can therefore be seen that the input impedance at each input terminal 108 is substantially insensitive to variations in the supply voltage V_(CC).

Another embodiment of an active termination circuit 200 is shown in FIG. 4. Unlike the analog active termination circuit 100 of FIG. 2, the active termination circuit of FIG. 4 is a digital circuit. Each input terminal 8 a-n is coupled to the drains of a set of PMOS transistors 204 a-n that are coupled to each other in parallel, and to the drains of a set of NMOS transistors 208 a-n that are coupled to each other in parallel. The sources of the PMOS transistors 204 a-n are coupled to a supply voltage V_(CC) while the sources of the NMOS transistors 208 a-n are coupled to ground. The gates of the PMOS transistors 204 a-n are coupled to a first control circuit 210 while the gates of the NMOS transistors 208 a-n are coupled to a second control circuit 216.

In operation, the voltage at each input terminal 8 a-n is determined by the impedance of the parallel combination of PMOS transistors 204 a-n relative to the impedance of the parallel combination of NMOS transistors 208 a-n. A set of PMOS transistors 204 a-n and a set of NMOS transistors 208 a-n are provided for each input terminal 8 a-n. The input impedance at the input terminal 8 a-n is determined by the parallel combination of the PMOS transistors 204 a-n and the parallel combination of the NMOS transistors 208 a-n in parallel with each other. As explained in detail below, the first control circuit 210 selectively turns ON a plurality of the PMOS transistors 204 a-n and the second control circuit 216 selectively turns ON a plurality of the NMOS transistors 208 a-n so that both the impedance of the parallel combination of PMOS transistors 204 a-n and the impedance of the parallel combination of NMOS transistors 208 a-n are substantially equal to a predetermined impedance. As a result, the input impedance at the input terminal 8 a-n are set to predetermine values.

The first control circuit 210 and the second control circuit 216 are substantially identical in structure and function. The only significant difference between the first control circuit 210 and the second control circuit 216 is that the first control circuit 210 includes a parallel combination of PMOS transistors 220 coupled between the supply voltage V_(CC) and a resistor 222 that is coupled to ground, while the second control circuit 216 includes a parallel combination of NMOS transistors 226 coupled between ground and a resistor 228 that is coupled to the supply voltage V_(CC).

Each of the control circuits 210, 216 includes a first comparator 230 and a second comparator 232. A feedback voltage V_(F) is applied to the “+” input of the first comparator 230 into the “−” input of the second comparator 232. The first comparator 230 also receives a first reference voltage V_(REF+) while the second comparator 232 also receives a second reference voltage V_(REF−). The magnitude of the first reference voltage V_(REF+) is slightly larger than the magnitude of the second reference voltage V_(REF−). As explained below, the difference between the magnitude of the first reference voltage and the magnitude of the second reference voltage V_(REF−) establishes a deadband. In the active termination circuit 200 of FIG. 4, the deadband is preferably centered at a voltage that is approximately one-half the supply voltage V_(CC). When the feedback voltage V_(F) is within the deadband, the number of transistors 220, 226 that are switched ON does not change. When the feedback voltage V_(F) is outside the deadband, the number of transistors 220, 226 that are switched ON is either increased or decreased depending upon whether the feedback voltage V_(F) is above or below the deadband.

Outputs from the comparators 230, 232 are applied to an input of a respective NAND-gate 236, 238. An input of each NAND-gate 236, 238 also receives an output from an oscillator 240. Respective outputs from the NAND-gates 236, 238 are applied to an up/down counter 246. However, the output from the NAND-gate 236 is applied to the “DN” input of the counter 246 in the first control circuit 210 and to the “UP” input of the counter 246 in the second control circuit 216. Also, the output from the NAND-gate 238 is applied to the “UP” input of the counter 246 in the first control circuit 210 and to the “DN” input of the counter 246 in the second control circuit 216.

The operation of the control circuits 210, 216 will now be explained with initial reference to the first control circuit 210. When the magnitude of the feedback voltage V_(F) is greater than the magnitude of the reference voltage V_(REF+), the NAND-gate 236 is enabled by a high output from the comparator 230 resulting from the positive comparison between the feedback voltage V_(F) and the reference voltage V_(REF+). As a result, pulses from the oscillator 240 are coupled through the NAND-gate 236 to the “DN” input of the counter 246. The counter 246 then decrements its count. The ON impedance of the PMOS transistors 220 preferably vary from each other in a binary manner so that the ON impedance of the leftmost PMOS transistor 220 is one-half the ON impedance of the PMOS transistor 220 to its right, and the ON impedance of the rightmost PMOS transistor 220 is twice the ON impedance of the PMOS transistor 220 to its left. The PMOS transistors 204 a-n coupled to the input terminals 108 a-n vary in the same manner. As a result, the impedance of the parallel combination of PMOS transistors 220 and 204 a-n will correspond to the count of the counter 246. Therefore, when the counter 246 is decremented responsive to the feedback voltage V_(F) being greater than the reference voltage V_(REF+), as previously explained, the impedance of the parallel combination of PMOS transistors 220 and 204 a-n is increased. When the impedance of the PMOS transistors 220 is increased, the feedback voltage V_(F) will be reduced to some voltage that is within the deadband.

The control circuit 210 responds to the feedback voltage V_(F) being below the deadband in a similar manner. Specifically, when the magnitude of the feedback voltage V_(F) is less than the magnitude of the reference voltage V_(REF−), the NAND-gate 238 is enabled by the positive comparison between the reference voltage V_(REF−) and the feedback voltage V_(F). As result, pulses from the oscillator 240 are gated to the “UP” input of the counter 246. The count of the counter 246 is then incremented, thereby turning ON additional PMOS transistors 220 and 204 a-n. The additional PMOS transistors 220 that are turned ON increase the feedback voltage until it is at a voltage that is within the deadband.

As mentioned above, the deadband is preferably centered at one-half the magnitude of the supply voltage V_(CC). When the feedback voltage V_(F) is centered in the deadband, i.e. is at one-half V_(CC), the impedance of the parallel combination of PMOS transistors 220 and 204 a-n will be equal to the resistance of the resistor 222. The PMOS transistors 204 a-n coupled to the input terminals 8 a-n are identical to and fabricated in the same process as the PMOS transistors 220. The impedance of each parallel combination of PMOS transistors 204 a-n will therefore also be equal to the resistance of the resistor 222.

The control circuit 216 operates in substantially the same manner as the control circuit 210. As in the control circuit 210, when the magnitude of the feedback voltage V_(F) is greater than the magnitude of the reference voltage V_(REF+), the NAND-gate 236 will be enabled, and when the magnitude of the feedback voltage V_(F) is less than the magnitude of the reference voltage V_(REF−), the NAND-gate 238 will be enabled. When the magnitude of the feedback voltage V_(F) is greater than the magnitude of the reference voltage V_(REF+), the counter 246 will be incremented to increase the number of NMOS transistors 226 that are turned ON. The impedance of the parallel combination of NMOS transistors 226 and 208 a-n will therefore be decreased, which will reduce the magnitude of the feedback voltage V_(F) so that it is within the deadband. When the magnitude of the feedback voltage V_(F) is less than the magnitude of the reference voltage V_(REF−), the counter 246 will be decremented to decrease the number of NMOS transistors 226 that are turned ON. The impedance of the parallel combination of NMOS transistors 226 and 208 a-n will therefore be increased, which will increase the magnitude of the feedback voltage V_(F) so that it is within the deadband. In this manner, the impedance of the parallel combination of NMOS transistors 226 and 208 a-n, will be set to equal the resistance of the resistor 228. Assuming the resistances of the resistors to 222, 228 are equal to each other, the impedance of each parallel combination of PMOS transistors 204 a-n coupled to a respective input terminal 8 a-n will be equal to the impedance of the parallel combination of NMOS transistors 208 a-n coupled to the same input terminal 8 a-n.

As with the active termination circuits 100 of FIG. 2, the active termination circuit 200 of FIG. 4 can precisely control the impedance and bias voltage level at each input terminal 8 a-n using only a single pair of control circuits 210, 216 for all of the input terminals 8 a-n. Furthermore, as long as the reference voltages track changes in the supply voltage V_(CC), such as by being generated from the supply voltage V_(CC) using a voltage divider, the input impedance at each input terminal 8 a-n will be insensitive to changes in the supply voltage V_(CC). Finally, since the PMOS transistors 204 a-n are identical to and fabricated in the same process as the PMOS transistors 220, and the NMOS transistors 208 a-n are identical to and fabricated in the same process as the NMOS transistors 226, the impedance at each input terminal 8 a-n are substantially insensitive to process variations.

FIG. 5 illustrates an example of a computer system 300 using the SDRAM 10 of FIG. 1 with active termination circuits coupled to at least some of its externally accessible input terminals according to one embodiment of the invention. the computer system includes a processor 302 for performing various computing functions, such as executing specific software to perform specific calculations or tasks. The processor 302 includes a processor bus 304 that normally includes the address bus 14, the data bus 58, and the control bus 70. In addition, the computer system 300 includes one or more input devices 314, such as a keyboard or a mouse, coupled to the processor 302 to allow an operator to interface with the computer system 300. Typically, the computer system 300 also includes one or more output devices 316 coupled to the processor 302, such output devices typically being a printer or a video terminal. One or more data storage devices 318 are also typically coupled to the processor 302 to allow the processor 302 to store data or retrieve data from internal or external storage media (not shown). Examples of typical storage devices 318 include hard and floppy disks, tape cassettes and compact disk read-only memories (CD-ROMs). The processor 302 is also typically coupled to cache memory 326, which is usually static random access memory (“SRAM”) and to the SDRAM 10 through a memory controller 330. The memory controller 330 normally includes the control bus 70 and the address bus 14 that is coupled to the SDRAM 10. The data bus 58 may be coupled to the processor bus 304 either directly (as shown), through the memory controller 330, or by some other means. Although the computer system 300 shown in FIG. 5 uses SDRAM memory devices, it will be understood that computer systems may alternatively use other types of memory devices having externally accessible input terminals that are coupled to an active termination circuit according to various embodiments of the invention. Also, the input terminals of the processor 302 may include active termination circuit according to various embodiments of the invention.

From the foregoing it will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. For example, it may be possible to use a fixed impedance element, such as a resistor, having a relatively high impedance coupled to the power supply voltage in place of either the PMOS transistor(s) or coupled to ground in place of either the NMOS transistor(s). The impedance of the input terminal could then be controlled by the lower impedance NMOS or PMOS transistor(s). Accordingly, the invention is not limited except as by the appended claims. 

What is claimed is:
 1. A computer system, comprising: an integrated circuit processor having a plurality of externally accessible terminals coupled to a processor bus; an input device coupled to the processor through the processor bus adapted to allow data to be entered into the computer system; an output device coupled to the processor through the processor bus adapted to allow data to be output from the computer system; and an integrated circuit memory device a plurality of externally accessible terminals coupled to a processor bus; and an active termination circuit coupled to at least one of the externally accessible terminals, each active termination circuit comprising: a first controllable impedance device coupled between a first supply voltage and the externally accessible terminals, the impedance of the first controllable impedance device being controlled by a first impedance control signal; a second controllable impedance device coupled between a second supply voltage and the externally accessible terminals, the impedance of the second controllable impedance device being controlled by a second impedance control signal; a first control circuit coupled to provide the first impedance control signal to each first controllable impedance devices, the first control circuit comprising: a third controllable impedance device coupled between a third supply voltage and a first feedback node, the third controllable impedance device being different from the first and second controllable impedance devices, and the first feedback node being different from the external terminal, the impedance of the third controllable impedance device being controlled by the first impedance control signal; a first predetermined resistance coupled between the first feedback node and a fourth supply voltage, the third controllable impedance device and the first predetermined resistance forming a voltage divider between the third and fourth supply voltages to produce a first feedback voltage at the first feedback node; and a first comparator circuit comparing the first feedback voltage to a first reference voltage, the first comparator circuit causing the first impedance control signal to vary so that the first feedback voltage is substantially equal to the first reference voltage; and a second control circuit coupled to provide the second impedance control signal to each second controllable impedance devices, the second control circuit comprising: a second predetermined resistance coupled between a fifth supply voltage and a second feedback node, a fourth controllable impedance device coupled between the second feedback node and a sixth supply voltage, the fourth controllable impedance device being different from the first and second controllable impedance devices, and the second feedback node being different from the external terminal, the impedance of the fourth controllable impedance device being controlled by the second impedance control signal, the second predetermined resistance and the fourth controllable impedance device forming a voltage divider between the fifth and sixth supply voltages to produce a second feedback voltage at the second feedback node; and a second comparator circuit comparing the second feedback voltage to a second reference voltage, the second comparator circuit causing the second impedance control signal to vary so that the second feedback voltage is substantially equal to the second reference voltage.
 2. The computer system of claim 1 wherein the command and address signals are coupled to the memory device in a packet containing both the command signals and the address signals.
 3. The computer system of claim 1 wherein the first, third and fifth supply voltages comprise a power supply voltage, and wherein the second, fourth, and sixth supply voltages comprise ground potential.
 4. The computer system of claim 1 wherein the first and second reference voltages comprise one-half the power supply voltage.
 5. The computer system of claim 1 wherein the first controllable impedance device and the third controllable impedance device comprise identical controllable impedance devices.
 6. The computer system of claim 5 wherein the first controllable impedance device and the third controllable impedance device comprise identical MOSFET transistors.
 7. The computer system of claim 1 wherein the second controllable impedance device and the fourth controllable impedance device comprise identical controllable impedance devices.
 8. The computer system of claim 7 wherein the first controllable impedance device and the third controllable impedance device comprise identical MOSFET transistors.
 9. The computer system of claim 1 wherein: the first comparator circuit comprises a first differential amplifier generating a first comparison signal corresponding to the difference between the first feedback signal and the first reference signal, the first impedance control signal corresponding to the first comparison signal; and the second comparator circuit comprises a second differential amplifier generating a first comparison signal corresponding to the difference between the second feedback signal and the second reference signal, the second impedance control signal corresponding to the second comparison signal.
 10. The computer system of claim 1 wherein the first controllable impedance device and the third controllable impedance device each comprise a plurality of MOSFET transistors coupled in parallel with each other, and wherein the first impedance control signal selectively turns ON a variable number of the MOSFET transistors in each plurality to alter the impedance of the first and third controllable impedance devices.
 11. The computer system of claim 1 wherein the memory device comprises a dynamic random access memory.
 12. The computer system of claim 1 wherein the dynamic random access memory comprises a synchronous dynamic random access memory.
 13. The computer system of claim 1 wherein the controllable impedance devices comprises respective voltage controlled impedance devices.
 14. A method of controlling the impedance of a plurality of external terminals of an integrated circuit, the method comprising: comparing the impedance of a first variable impedance device to a predetermined impedance: coupling each of the external terminals to a respective second variable impedance device that is different from the first variable impedance, the external terminals being coupled to the respective second variable impedance devices in a manner that makes the impedance of the respective second variable impedance devices insensitive to voltages applied to the external terminals; and based on the comparison, adjusting the impedance of both the first variable impedance device and each of the second variable impedance devices.
 15. The method of claim 14, further comprising: comparing the impedance of a third variable impedance device to a second predetermined impedance; coupling each of the external terminals to a respective fourth variable impedance device; and based on the comparison, adjusting the impedance of both the third variable impedance device and each of the fourth variable impedance devices.
 16. The method of claim 14 wherein the act of comparing the impedance of a first variable impedance device to a predetermined impedance comprises coupling the first variable impedance device and the predetermined impedance in series with each other between a pair of reference voltages to provide a feedback voltage at a node between the first variable impedance device and the predetermined impedance.
 17. The method of claim 16 wherein the act of adjusting the impedance of both the first variable impedance device and each of the second variable impedance devices comprises: comparing the feedback voltage to a reference voltage; if the feedback voltage is larger than the reference voltage, adjusting the impedance of both the first variable impedance device and each of the second variable impedance devices in a first direction; and if the feedback voltage is smaller than the reference voltage, adjusting the impedance of both the first variable impedance device and each of the second variable impedance dcvices in a second direction that is opposite the first direction.
 18. The method of claim 14 wherein the first variable impedance device and the second variable impedance devices each comprise a plurality of fixed impedance devices coupled in parallel with each other, and wherein the act of adjusting the impedance of both the first variable impedance device and each of the second variable impedance devices comprises altering the number of fixed impedance devices coupled in parallel with each other.
 19. The method of claim 14 wherein the first variable impedance device and the second variable impedance devices each comprise a plurality of switchable impedance devices coupled in parallel with each other, each of the switchable impedance devices having a low impedance state and a high impedance stare, and wherein the act of adjusting the impedance of both the first variable impedance device and each of the second variable impedance devices comprises altering the number of switchable impedance devices having the low impedance state.
 20. The method of claim 14 wherein the first variable impedance device and the second variable impedance devices each comprise a continuously variable impedance device, and wherein the act of adjusting the impedance of both the first variable impedance device and the second variable impedance devices comprises continuously varying the impedance of the continuously variable impedance devices.
 21. In a memory device, a method of controlling the input impedance of a plurality of externally accessible external terminals, the method comprising: coupling first and second variable impedance devices to each of the plurality of externally accessible external terminals; comparing the impedance of a third variable impedance devices to a first predetermined impedance, the third variable impedance device being different from the first and second variable impedance devices; producing a first feedback signal corresponding to the comparison between the impedance of the third variable impedance device and the first predetermined impedance; comparing the impedance of a fourth variable impedance devices to a second predetermined impedance, the fourth variable impedance device being different from the first and second variable impedance devices; producing a second feedback signal corresponding to the comparison between the impedance of the fourth variable impedance device and the second predetermined impedance; adjusting the impedance of all of the first variable impedance devices and the third variable impedance device as a function of the first feedback signal; and adjusting the impedance of all of the second variable impedance devices and the fourth variable impedance device as a function of the second feedback signal.
 22. The method of claim 21 wherein the acts of adjusting the impedance of all of the first variable impedance devices as a function of the first feedback signal and adjusting the impedance of all of the second variable impedance devices as a function of the second feedback signal comprise: comparing the magnitude of the first feedback signal to a first reference voltage; if the magnitude of the first feedback signal is greater than the first reference voltage, changing the impedance of the first variable impedance devices in a first direction; if the magnitude of the first feedback signal is less than the first reference voltage, changing the impedance of the first variable impedance devices in a second direction that is different from the first direction; comparing the magnitude of the second feedback signal to a second reference voltage; if the magnitude of the second feedback signal is greater than the second reference voltage, changing the impedance of the second variable impedance devices in a first direction; and if the magnitude of the second feedback signal is less than the second reference voltage, changing the impedance of the second variable impedance devices in a second direction that is different from the first direction.
 23. The method of claim 21 wherein the variable impedance devices each comprise a plurality of fixed impedance devices coupled in parallel with each other, and wherein the acts of adjusting the impedance of the variable impedance devices comprise altering the number of fixed impedance devices coupled in parallel with each other.
 24. The method of claim 21 wherein the variable impedance devices each comprise a plurality of switchable impedance devices coupled in parallel with each other, each of the switchable impedance devices having a low impedance state and a high impedance state, and wherein the acts of adjusting the impedance of the variable impedance devices comprise altering the number of switchable impedance devices having the low impedance state.
 25. The method of claim 21 wherein the variable impedance devices each comprise a continuously variable impedance device, and wherein the acts of adjusting the impedance of the variable impedance devices comprise continuously varying the impedance of the continuously variable impedance devices. 